<extend name="Index:index" />
<block name="nav1">
  	<ul class="breadcrumb">
        <li>
            <i class="icon-home home-icon"></i>
            <a href="#">Admin</a>
        </li>
        <li class="active">用户信息管理</li>
   	</ul><!-- .breadcrumb -->
</block>

<block name="nav2">
    <h1>
        用户信息管理
        <small>
            <i class="icon-double-angle-right"></i>
            	用户收藏信息
        </small>
    </h1>


</block>

	  <block name="main">
        <div class="row">
            <!-- <volist name="admin" id="vo">
            <{$vo.name}>
            </volist>
             -->
            <div class="col-xs-12">
                <table class="table n_list">
                    <thead>
                        <tr>
                            <th>新闻ID</th>
                            <th>发布人</th>
                            <th>新闻封面</th>
                            <th>新闻标题</th>
                            <!-- <th>新闻内容</th> -->
                            <th>发布时间</th>
                            <th>浏览次数</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                    	<?php if(empty($data)): ?>
                            <tr>
                                <td colspan="7"><h3>暂无收藏</h3></td>
                            </tr>
                        <?php else: ?>
                            <volist name="list" id="v">
                        
                            <tr>
                                <td><{$v.id}></td>
                                
                                <td><{$v.name}></td>
                                
                                <td>
                                <?php if(empty($v['cimg'])): ?>
                                    <h3>暂无封面</h3>
                                <?php else: ?>
                                    <img src="__PUBLIC__/<{$v.cimg}>">
                                <?php endif ?>
                                </td>
                                <td><{$v.title}></td>
                                <!-- <td style="overflow:auto;"><{$v.article}></td> -->
                                <td><{$v.time}></td>
                                <td></td>
                                <td>
                                    <a href="<{:U('Center/reply', array('id'=>$v['id']))}>" class="btn btn-danger btn-sm a">反馈记录</a>
                                </td>
                            </tr>
                        </volist>
                        <?php endif ?>
                        
                    </tbody>

                </table>
            </div>
        </div>
    </block>


<!--     <{$v.id}>
<{$v.name}>
<if condition="$v.sex eq '0'">女<else />男</if>
<{$v.tel}>
<{$v.email}> -->